.flex-1 {
    flex: 1;
}
.diagram-example-vue {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;

    
    .node-title {
        font-size: 14px;
        line-height: 1.6;
        font-weight: bold;
    }
    .basic-node {
        margin: 10px auto;
        background: #fff;
        color: black;
        border-radius: 15px;
        height: 30px;
        border: 1px solid #289de9;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        user-select: none;
        overflow: hidden;

        .icon {
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 24px;
            color: #fff;
            width: 28px;
            height: 28px;
            background: #289de9;
            border-radius: 50%;
            margin: 1px 10px 1px 1px;
        }

        .node-text {
            flex: 1;
        }
    }
    .tip-wrap {
        color: #f00;
        font-size: 12px;
        line-height: 1.4;
        padding-bottom: 15px;
    }

    .page-left {
        position: absolute;
        left: 0;
        top: 0;
        width: 140px;
        padding: 10px;
    }

    .tree-ul {
        color: #000;

        .item-text {
            padding-left: 20px;
        }
    }

    .right-form {
        width: 300px;
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        height: 100%;
        border-left: 1px solid #ccc;
        background: #fff;
        flex-direction: column;
        .title {
            font-size: 20px;
            line-height: 80px;
        }

        .config-tabs {
            display: none;
        }
        .config-tabs {
            padding: 0 20px;

            .el-tabs__nav-wrap {
                display: flex;
                justify-content: center;
            }
        }

        .form-cont {
            flex: 1;
            overflow: auto;
            padding: 0 20px;
        }
        .form-title {
            padding: 10px 20px;
            font-size: 16px;
            line-height: 1.4;
        }

        .section-title {
            display: flex;
            align-items: center;
            padding: 6px 0 4px 0;
            font-size: 14px;
            line-height: 1;
            color: #666;
        }

        .section-cont {
            padding: 0 10px;

            .select-title {
                margin-top: 8px;
                font-size: 12px;
                line-height: 1.6;
                color: #999;
            }
        }
        
        .list-title{ padding: 5px 0 2px 0; font-size: 12px; line-height: 1; color:#666; }
        .select-list-wrap{ 
            .el-select{ margin: 2px; display: inline-block; width: 105px; }
        }
        .rule-head {
            height: 30px;
            font-size: 12px;
            color: #666;
            display: flex;
            align-items: center;
        }

        .rule-text {
            min-height: 20px;
            line-height: 20px;
            font-size: 12px;
            color: #666;
            background: #f6f6f6;
            text-align: right;
        }
        .rule-input {
            display: block;
            height: 30px;
            font-size: 14px; 
            text-align: right;
            border: 1px solid #DCDFE6;
            box-sizing: border-box;
            width: 100%;
            border-radius: 4px;
            padding: 0 10px;
            &:focus{ outline:none; border: 1px solid #409EFF; }
        }

        .rule-btn-wrap,
        .rule-head {
            display: flex;
            flex-wrap: wrap;
            .btn-item {
                margin-right: 4px;
                padding: 0 5px;
                min-width: 14px;
                height: 24px;
                display: inline-flex;
                justify-content: center;
                align-items: center;
                background: #409eff;
                font-size: 12px;
                color: #fff;
                cursor: pointer;
                border-radius: 4px;
                &:last-child{ margin: 0; }
            }
            .clear-btn {
                background: #96b97d;
            }
            .save-btn {
                background: #96b97d;
            }
            .symbol-btn {
                font-size: 18px;
            }
        }
        .rule-btn-wrap{ margin-top: 5px; }

        .save-basic-btn {
            display: block;
            margin: 20px auto;
        }

        .tab-cont {
            height: 500px;
            overflow-y: auto;
        }
    }
}

/** 给svg添加格子背景，这个是拖拽的svg画布 */
#svgContent {
    background-size: 50px 50px;
    background-image: linear-gradient(
            0deg,
            transparent 24%,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.05) 26%,
            transparent 27%,
            transparent 74%,
            rgba(255, 255, 255, 0.05) 75%,
            rgba(255, 255, 255, 0.05) 76%,
            transparent 77%,
            transparent
        ),
        linear-gradient(
            90deg,
            transparent 24%,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.05) 26%,
            transparent 27%,
            transparent 74%,
            rgba(255, 255, 255, 0.05) 75%,
            rgba(255, 255, 255, 0.05) 76%,
            transparent 77%,
            transparent
        );
    background-color: rgb(60, 60, 60) !important;
    margin-left: 160px;
    margin-right: 200px;
}